<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="static/css/bootstrap.css" type="text/css" rel="stylesheet">
    <link href="static/bootstrap-table/bootstrap-table.css" type="text/css" rel="stylesheet">
    <link href="static/bootstrap-table/bootstrap-table-locale-all.js" type="text/css" rel="stylesheet">
    <script src="static/js/jquery-1.11.0.js"></script>
    <script src="static/js/bootstrap.min.js"></script>
    <script src="static/bootstrap-table/bootstrap-table.js"></script>
    <script>

        $(function(){

            $("#table").bootstrapTable({
                url:"workOrder/findAllWorkToTable",//json
                pagination:"true",//分页工具条
                sidePagination:"server",//服务端分页
                showRefresh:true,
                search:true,
                pageSize:2,
                columns:[
                    {checkbox:true},

                    {field:"id",title:"编号",sortable:true},
                    {field:"executor",title:"执行人"},
                    {field:"description",title:"描述"},
                    {field:"level",title:"级别"},
                    {field:"create_time",title:"创建时间"},
                    {field:"project_name",title:"项目名称"}

                ]
            });

        });

    </script>
</head>
<body>

<table id="table"></table>

</body>
</html>